export default {
    color: ["#2ec7c9", "#c8b6eb", "#5ab1ef"],
    tooltip: {
        trigger: "axis",
        axisPointer: {
            type: "shadow",
        },
    },

    grid: {
        left: "0%",
        right: "2%",
        bottom: "0%",
        top: "10%",
        containLabel: true,
    },
    xAxis: [{
        type: "category",
        axisTick: {
            // true意思：图形在刻度中间
            // false意思：图形在刻度之间
            alignWithLabel: true,
        },
        // x坐标轴颜色设置
        axisLine: {
            lineStyle: {
                color: "rgba(0, 138, 205, 1)",
                // width:8,  x轴线的粗细
                // opcity: 0,   如果不想显示x轴线 则改为 0
            },
        },
        data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
    }, ],
    yAxis: [{
        type: "value",
        axisLabel: {
            color: "#4c9bfd",
        },
        // y坐标轴颜色设置
        axisLine: {
            show: true,
            lineStyle: {
                color: "rgba(0, 138, 205, 0.3)",
                width: 2,
            },
        },
    }, ],
    series: [{
            name: "Email",
            type: "bar",
            stack: "Ad",

            data: [320, 332, 301, 334, 390, 330, 320],
        },
        {
            name: "Union Ads",
            type: "bar",
            stack: "Ad",

            data: [220, 182, 291, 234, 290, 330, 310],
        },
        {
            name: "Video Ads",
            type: "bar",
            stack: "Ad",

            data: [150, 232, 201, 154, 190, 330, 410],
        },
    ],
}